
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module PrintDialog</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>PrintDialog</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/cgroza/Projects/gEcrit/bin/PrintDialog.py">/home/cgroza/Projects/gEcrit/bin/PrintDialog.py</a></font></td></tr></table>
    <p><tt>#&nbsp;-*-&nbsp;coding:&nbsp;utf-8&nbsp;-*-</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="wx.html">wx</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a>(<a href="wx._core.html#Object">wx._core.Object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="PrintDialog.html#PrettyPrinter">PrettyPrinter</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PrettyPrinter">class <strong>PrettyPrinter</strong></a>(<a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#PrettyPrinter">PrettyPrinter</a><br>
&nbsp;<br>
Provides&nbsp;the&nbsp;necessary&nbsp;functions&nbsp;for&nbsp;printing<br>
documents.<br>
&nbsp;<br>
Build&nbsp;the&nbsp;GUI&nbsp;and&nbsp;provides&nbsp;the&nbsp;appropriate&nbsp;controls.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="PrintDialog.html#PrettyPrinter">PrettyPrinter</a></dd>
<dd><a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a></dd>
<dd><a href="wx._core.html#Object">wx._core.Object</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="PrettyPrinter-DoPrint"><strong>DoPrint</strong></a>(self, text, filename, linenumbers<font color="#909090">=1</font>)</dt><dd><tt>DoPrint<br>
&nbsp;<br>
Sets&nbsp;the&nbsp;print&nbsp;hedear&nbsp;and&nbsp;calls&nbsp;the&nbsp;HTML<br>
generation&nbsp;function.<br>
&nbsp;<br>
Sends&nbsp;the&nbsp;output&nbsp;to&nbsp;<a href="wx.html.html#HtmlEasyPrinting">HtmlEasyPrinting</a>&nbsp;object&nbsp;for&nbsp;printing.</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-ToHTML"><strong>ToHTML</strong></a>(self, text, linenumbers)</dt><dd><tt>ToHTML<br>
&nbsp;<br>
Formats&nbsp;the&nbsp;document&nbsp;text&nbsp;to&nbsp;HTML&nbsp;form.<br>
Returns&nbsp;it.</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-__init__"><strong>__init__</strong></a>(self, filename, text_id, parent<font color="#909090">=None</font>)</dt><dd><tt>__init__<br>
&nbsp;<br>
Initializes&nbsp;the&nbsp;<a href="wx.html.html#HtmlEasyPrinting">HtmlEasyPrinting</a>&nbsp;object.<br>
&nbsp;<br>
Creates&nbsp;the&nbsp;necessary&nbsp;dialogs.<br>
Retrieves&nbsp;the&nbsp;content&nbsp;to&nbsp;be&nbsp;printed.</tt></dd></dl>

<hr>
Methods inherited from <a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a>:<br>
<dl><dt><a name="PrettyPrinter-GetPageSetupData"><strong>GetPageSetupData</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-GetPageSetupData">GetPageSetupData</a>(self)&nbsp;-&gt;&nbsp;PageSetupDialogData</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-GetParentWindow"><strong>GetParentWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-GetParentWindow">GetParentWindow</a>(self)&nbsp;-&gt;&nbsp;Window</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-GetPrintData"><strong>GetPrintData</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-GetPrintData">GetPrintData</a>(self)&nbsp;-&gt;&nbsp;PrintData</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-PageSetup"><strong>PageSetup</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-PageSetup">PageSetup</a>(self)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-PreviewFile"><strong>PreviewFile</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-PreviewFile">PreviewFile</a>(self,&nbsp;String&nbsp;htmlfile)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-PreviewText"><strong>PreviewText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-PreviewText">PreviewText</a>(self,&nbsp;String&nbsp;htmltext,&nbsp;String&nbsp;basepath=EmptyString)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-PrintFile"><strong>PrintFile</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-PrintFile">PrintFile</a>(self,&nbsp;String&nbsp;htmlfile)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-PrintText"><strong>PrintText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-PrintText">PrintText</a>(self,&nbsp;String&nbsp;htmltext,&nbsp;String&nbsp;basepath=EmptyString)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-SetFonts"><strong>SetFonts</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-SetFonts">SetFonts</a>(self,&nbsp;String&nbsp;normal_face,&nbsp;String&nbsp;fixed_face,&nbsp;PyObject&nbsp;sizes=None)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-SetFooter"><strong>SetFooter</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-SetFooter">SetFooter</a>(self,&nbsp;String&nbsp;footer,&nbsp;int&nbsp;pg=PAGE_ALL)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-SetHeader"><strong>SetHeader</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-SetHeader">SetHeader</a>(self,&nbsp;String&nbsp;header,&nbsp;int&nbsp;pg=PAGE_ALL)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-SetParentWindow"><strong>SetParentWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-SetParentWindow">SetParentWindow</a>(self,&nbsp;Window&nbsp;window)</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-SetStandardFonts"><strong>SetStandardFonts</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-SetStandardFonts">SetStandardFonts</a>(self,&nbsp;int&nbsp;size=-1,&nbsp;String&nbsp;normal_face=EmptyString,&nbsp;String&nbsp;fixed_face=EmptyString)</tt></dd></dl>

<dl><dt><strong>__del__</strong> <em>lambda</em> self</dt></dl>

<dl><dt><a name="PrettyPrinter-__repr__"><strong>__repr__</strong></a> = _swig_repr(self)</dt></dl>

<hr>
Data descriptors inherited from <a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a>:<br>
<dl><dt><strong>PageSetupData</strong></dt>
<dd><tt>See&nbsp;`GetPageSetupData`</tt></dd>
</dl>
<dl><dt><strong>PrintData</strong></dt>
<dd><tt>See&nbsp;`GetPrintData`</tt></dd>
</dl>
<dl><dt><strong>thisown</strong></dt>
<dd><tt>The&nbsp;membership&nbsp;flag</tt></dd>
</dl>
<hr>
Data and other attributes inherited from <a href="wx.html.html#HtmlEasyPrinting">wx.html.HtmlEasyPrinting</a>:<br>
<dl><dt><strong>__swig_destroy__</strong> = &lt;built-in function delete_HtmlEasyPrinting&gt;</dl>

<hr>
Methods inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><a name="PrettyPrinter-Destroy"><strong>Destroy</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-Destroy">Destroy</a>(self)<br>
&nbsp;<br>
Deletes&nbsp;the&nbsp;C++&nbsp;object&nbsp;this&nbsp;Python&nbsp;object&nbsp;is&nbsp;a&nbsp;proxy&nbsp;for.</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-GetClassName"><strong>GetClassName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-GetClassName">GetClassName</a>(self)&nbsp;-&gt;&nbsp;String<br>
&nbsp;<br>
Returns&nbsp;the&nbsp;class&nbsp;name&nbsp;of&nbsp;the&nbsp;C++&nbsp;class&nbsp;using&nbsp;wxRTTI.</tt></dd></dl>

<dl><dt><a name="PrettyPrinter-IsSameAs"><strong>IsSameAs</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PrettyPrinter-IsSameAs">IsSameAs</a>(self,&nbsp;Object&nbsp;p)&nbsp;-&gt;&nbsp;bool<br>
&nbsp;<br>
For&nbsp;wx.Objects&nbsp;that&nbsp;use&nbsp;C++&nbsp;reference&nbsp;counting&nbsp;internally,&nbsp;this&nbsp;method<br>
can&nbsp;be&nbsp;used&nbsp;to&nbsp;determine&nbsp;if&nbsp;two&nbsp;objects&nbsp;are&nbsp;referencing&nbsp;the&nbsp;same&nbsp;data<br>
object.</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br>
<dl><dt><strong>ClassName</strong></dt>
<dd><tt>See&nbsp;`GetClassName`</tt></dd>
</dl>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table>
</body></html>